<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
	<div class="header">
    	<div class="header_inner">
        	<span class="logo">婴贝轩</span>
            <ul class="header_nav">            	
            	<li class="header_nav_title"><strong class="header_sub" onclick="javascript:location.href='${ctx}/front!viewIndex.action';" style="cursor:pointer;">首页</strong></li>
            	<c:forEach var="o" items="${treeMap}">    
                <li class="header_nav_li">
                    <a href="#" class="header_sub">${o.key.className}</a>
                    <div class="pd_list">
                    	<c:forEach var="o2" items="${o.value}">
                        <dl class="clearfix">
                            <dt>${o2.key.className}</dt>
                            <dd>
                                <ul>
                                	<c:forEach var="o3" items="${o2.value}"><li><a href="javascript:clickClass('${o3.classId}');" title="${o3.className}" target="_blank">${o3.className}</a></li></c:forEach>                                   
                                </ul>
                            </dd>
                        </dl>
                        </c:forEach>
                    </div>
                </li>
                </c:forEach>         
            </ul>
            <form id='searchForm' action="${ctx}/front!viewSearch.action" method="post">
            <div class="header_search">
            	<input type="text" value="${searchKey}" id="searchJs" name="searchKey"/>
                <a href="javascript:$('#searchForm').submit();"></a>
            </div>
            </form>
        </div>
    </div>
<script type="text/javascript">
<!--
//点击第三层类型
function clickClass(classId){	
	location.href="${ctx}/front!viewThird.action?classId="+classId;
}
//-->
</script>